package com.mms.pojo;

import com.baomidou.mybatisplus.annotations.KeySequence;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author 陈林鹏
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@KeySequence(value = "SEQ_MEDICINE", clazz = Integer.class)
public class Medicine implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.INPUT)
    private Integer id;
    private String medicineNum;
    private String medicineName;
    private String manfacturer;
    private String mainEffect;
    private Date manufactureDate;
    private String taboos;
    private Integer inventory;
    private String unitDesc;


}
